package cn.tedu.egcar1.mapper;

import cn.tedu.egcar1.pojo.dto.VehicleAddParam;
import cn.tedu.egcar1.pojo.entity.Vehicle;
import cn.tedu.egcar1.pojo.vo.VehicleListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VehicleMapper {
    void  add(Vehicle vehicle);

    List<VehicleListVO> selectByVehicle(@Param("brand") String brand, @Param("license")String license, @Param("userId")Long userId);

    void deleteVehicleById(@Param("id") Integer id, @Param("userId") Long userId);
}
